<?php

class user extends spModel
{
	public $pk = "uid"; // 数据表的主键
    public $table = "user"; // 数据表的名称

	function getMe() {
		return $this->find(array('uid'=>$_SESSION['uid']));
	}

}